package com.yidian.demotickets.entity;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by bmc on 2017/10/18.
 */

public class SvgEntity {

    private float width;
    private float height;
    private List<SvgContentEntity> contents=new ArrayList<>();

    public SvgEntity() {
    }

    public SvgEntity(float width, float height, List<SvgContentEntity> contents) {
        this.width = width;
        this.height = height;
        this.contents = contents;
    }

    public float getWidth() {
        return width;
    }

    public void setWidth(float width) {
        this.width = width;
    }

    public float getHeight() {
        return height;
    }

    public void setHeight(float height) {
        this.height = height;
    }

    public List<SvgContentEntity> getContents() {
        return contents;
    }

    public void setContents(List<SvgContentEntity> contents) {
        this.contents = contents;
    }

    @Override
    public String toString() {
        return "SvgEntity{" +
                "width=" + width +
                ", height=" + height +
                ", contents=" + contents +
                '}';
    }
}
